package Exp5_2;

public class TestEmployee {
    public static void main(String[] args){
        try{
            Employee e1 = new Employee(70,"Li",18);
        }
        catch(EnoException ex){
            System.out.println(ex);
        }try{
            Employee e1 = new Employee(10,"Wang",19);
        }
        catch(EnoException ex){
            System.out.println(ex);
        }try{
            Employee e1 = new Employee(50,"Zhang",16);
        }
        catch(EnoException ex){
            System.out.println(ex);
        }
    }
}
